#ifndef CANNON_HPP
#define CANNON_HPP

#include "Missile.hpp"

class Cannon
{
	public:
		Cannon(const Missile& m, float period);
		~Cannon();

		void shoot();
		void setPosition(const float& x, const float& y);


	private:
		Missile m_main;

		// can shoots each m_T sec
		float m_T;
		sf::Clock m_clock;
};

#endif
